package com.atguigu.crowd.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Component // 加入ioc容器
@ConfigurationProperties(prefix = "short.message") // 给类设置在配置文件中设置时的前缀为“short.message”
public class ShortMessageProperties {
    private String accesskey;
    private String secret;
    private String signName;
    private String TemplateCode;
}
